/**     
 * @Title: UserInfo.java   
 * @Package com.yitong.bean   
 * @Description: TODO
 * @author weiwei 
 * @date 2017年7月20日 下午12:26:54   
 * @version V1.0     
 */
package com.yitong.bean;

import java.io.Serializable;

/**
 * @ClassName: UserInfo
 * @Description: TODO
 * @author weiwei
 * @date 2017年7月20日 下午12:26:54
 * 
 */
public class UserInfo implements Serializable {

	/**
	 * @Fields serialVersionUID : TODO
	 */
	private static final long serialVersionUID = -6220992795480300255L;

	private String userId;

	private String userName;

	private String email;
	
	/** 已验证令牌 **/
	private String authcToken;

	public UserInfo() {
		super();
	}

	public UserInfo(String userId, String userName, String email, String authcToken) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.email = email;
		this.authcToken = authcToken;
	}

	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the authcToken
	 */
	public String getAuthcToken() {
		return authcToken;
	}

	/**
	 * @param authcToken the authcToken to set
	 */
	public void setAuthcToken(String authcToken) {
		this.authcToken = authcToken;
	}

	@Override
	public String toString() {
		return "UserInfo [userId=" + userId + ", userName=" + userName + ", email=" + email + ", authcToken="
				+ authcToken + "]";
	}
}
